package com.yxinsur.imc.business.events.event;

import com.yxinsur.imc.common.core.domain.entity.SysOrg;
import org.springframework.context.ApplicationEvent;

/**
 * 组织信息录入事件
 */
public class SysOrgCreateEvent  extends ApplicationEvent {
    private String msg;
    private SysOrg sysOrg;

    public SysOrgCreateEvent(Object source, String msg, SysOrg sysOrg) {
        super(source);
        this.msg = msg;
        this.sysOrg = sysOrg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public SysOrg getSysOrg() {
        return sysOrg;
    }

    public void setSysOrg(SysOrg sysOrg) {
        this.sysOrg = sysOrg;
    }
}
